﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DatabaseAdminTools.Controls
{
    class MySplitContainer : System.Windows.Forms.SplitContainer
    {

        public MySplitContainer()
            : base()
        {

        }
        protected override void OnMouseLeave(EventArgs e)
        {

            if (this.ClientRectangle.Contains(this.PointToClient(System.Windows.Forms.Control.MousePosition)))
                return;
            else
            {
                base.OnMouseLeave(e);
            }
        }
    }
}
